<include file="Public/head"/>
<body class="no-skin">
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>
    <div class="main-content">
        <div class="main-content-inner">

            <div class="page-content">

                <div class="row">
                        <!--startprint1-->
                        <h2 class=" text-center">财务总报表</h2>
                        <h5>时&nbsp;&nbsp;&nbsp;&nbsp;间&nbsp;&nbsp;&nbsp;&nbsp;段: {$dateS|date='Y-m-d',###}&nbsp;至&nbsp;{$dateE|date='Y-m-d',###}</h5>
                    <div class="space-4"></div>
                      <table class="table table-striped table-bordered" >
                            <thead>
                            <tr>
                            	
                            	<th class="center">驾校名称</th>
                                <th class="center">科目</th>
                                <th class="center">金额（单位：元）</th>
                            </tr>
                            </thead>
                            <tbody>

               					<?php if(!empty($info)) { ?>
               					<volist name='info' id='v'>
                                 <tr>
                                 	<td rowspan='3' class='center'>
                                 		{$v['name']}<br/>
                                 		（驾校标识：{$v['uid']}）
                                 	</td>
                                    <td class="center">预约学车</td>
 									<td class="center">
 									<?php if($v['mTotalP']){ ?>
 									 ￥ {$v['mTotalP']} 元
 									<?php }else{?>
 									/
 									<?php  }?>
 									</td>
                                </tr>
                               
                                <tr>
                                	
                                    <td class="center">在线报名</td>
 									<td class="center">
 									
	 									<?php if($v['sTotalP']){ ?>
	 									￥ {$v['sTotalP']} 元
	 									<?php }else{?>
	 									/
	 									<?php  }?>
 									</td>
                                </tr>
                                <tr>
                                    <td colspan ='4' align="right">合计：￥ {$v['total']} 元&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                                    
                                </tr>
                                </volist>
                                <?php  }else{ ?>
                                	<tr>
                                	 	<td colspan ='4' align="center">本月未有资金收入！</td>
                                	 </tr>
                                
                                <?php }?>
                            </tbody>
                        </table>
                    <!--endprint1-->
                    <!-- PAGE CONTENT ENDS -->
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.page-content -->
    </div>
</div><!-- /.main-content -->

</div><!-- /.main-container -->
<script src="__PUBLIC__/qwadmin/js/jquery-1.9.1.min.js"></script>
<!-- inline scripts related to this page -->
<script type="text/javascript">
/*打印 */
$(function(){
	window.print();
	history.back();
})
</script>
</body>
</html>
